// src/services/user/user.types.ts
export interface User {
  id: string
  username: string
  avatar: string
  followers_count: number
  following_count: number
  likes_count: number
  works_count: number
  description?: string
}

export interface FollowResponse {
  code: number
  msg: string
  data: {
    is_following: boolean
  }
}

export interface UserResponse {
  code: number
  msg: string
  data: User
}

export interface UserListResponse {
  code: number
  msg: string
  data: {
    total: number
    list: User[]
  }
}